package com.my.aslife.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.my.aslife.module.common.PageRequestVo;
import com.my.aslife.module.common.ResponseResult;
import com.my.aslife.module.entity.Orders;
import com.my.aslife.module.entity.dtos.OrdersAcceptDto;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author jobob
 * @since 2022-12-12
 */
public interface OrdersService extends IService<Orders> {

    ResponseResult queryOrderByOrderId(Long orderId);

    ResponseResult acceptDemand(OrdersAcceptDto ordersAcceptDto);

    /**
     *  催单
     * @param orderId orderId
     * @return
     */
    ResponseResult reminderToDemand(Long orderId);

    ResponseResult uploadFinishDemandUrl(MultipartFile file);

    /**
     * 订单转移
     * @param orderId transferOrder
     * @return
     */
    ResponseResult transferOrder(Long orderId);

    /**
     *  获取 订单信息列表
     * @param pageRequestVo pageRequestVo
     * @return
     */
    ResponseResult selectOrderInfoByPageOrCondition(PageRequestVo pageRequestVo);
}
